package com.lml.hydrogenexpertsystem.backend.annotation;

import com.baomidou.mybatisplus.annotation.TableName;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author 梦龙
 * @date 2025/4/19 上午9:22
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AuthCheck {

    /**
     * 必须要有某个角色
     * @return
     */
    String mustRole() default "";
}
